// pages/user_info/my_order/my_order.js
const {http,PageContent} = require('../../../utils/util.js');
Page({

    /**
     * 页面的初始数据
     */
    data: {
      img_url: "/static/imgs/cars/zw_hui.png",
      img_url_01: "/static/imgs/cars/zw_hui.png",
      img_url_02: "/static/imgs/cars/zw_hui.png" ,
      img_url_03: "/static/imgs/cars/zw_hui.png" ,
      img_url_04: "/static/imgs/cars/zw_hui.png" ,
      img_url_05: "/static/imgs/cars/zw_hui.png" ,
      img_url_06: "/static/imgs/cars/zw_hui.png" ,
      img_url_07: "/static/imgs/cars/zw_hui.png" ,
      img_url_08: "/static/imgs/cars/zw_hui.png" ,
      img_url_09: "/static/imgs/cars/zw_hui.png" ,
      img_url_10: "/static/imgs/cars/zw_hui.png" ,
      img_url_11: "/static/imgs/cars/zw_hui.png" ,
      img_url_12: "/static/imgs/cars/zw_hui.png" ,
      img_url_13: "/static/imgs/cars/zw_hui.png" ,
      img_url_14: "/static/imgs/cars/zw_hui.png" ,
      img_url_15: "/static/imgs/cars/zw_hui.png" ,
      img_url_16: "/static/imgs/cars/zw_hui.png" ,
      img_url_17: "/static/imgs/cars/zw_hui.png" ,
      img_url_18: "/static/imgs/cars/zw_hui.png" ,
      img_url_19: "/static/imgs/cars/zw_hui.png" ,
      img_url_20: "/static/imgs/cars/zw_hui.png" ,
      img_url_21: "/static/imgs/cars/zw_hui.png" ,
      img_url_22: "/static/imgs/cars/zw_hui.png" ,
      img_url_23: "/static/imgs/cars/zw_hui.png" ,
      img_url_24: "/static/imgs/cars/zw_hui.png" ,
      img_url_st_01:0,
      img_url_st_02:0,
      img_url_st_03:0,
      img_url_st_04:0,
      img_url_st_05:0,
      img_url_st_06:0,
      img_url_st_07:0,
      img_url_st_08:0,
      img_url_st_09:0,
      img_url_st_10: 0,
      img_url_st_11: 0,
      img_url_st_12: 0,
      img_url_st_13: 0,
      img_url_st_14: 0,
      img_url_st_15: 0,
      img_url_st_16: 0, 
      img_url_st_17: 0,
      img_url_st_18: 0,
      img_url_st_19: 0,
      img_url_st_20: 0,
      img_url_st_21: 0,
      img_url_st_22: 0,
      img_url_st_23: 0,
      img_url_st_24: 0
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
        
    },
  select_weizhi_03: function (params) {
    if (this.data.img_url_st_03 == 0) {
      this.setData({
        img_url_03: "/static/imgs/cars/zw_lu.png",
        img_url_st_03: 1
        })
    } else {
      this.setData({
        img_url_03: "/static/imgs/cars/zw_hui.png",
          img_url_st_03: 0
        })
    }
  },
  select_weizhi_04: function (params) {
    if (this.data.img_url_st_04 == 0) {
      this.setData({
        img_url_04: "/static/imgs/cars/zw_lu.png",
          img_url_st_04: 1
        })
    } else {
      this.setData({
        img_url_04: "/static/imgs/cars/zw_hui.png",
          img_url_st_04: 0
        })
    }
  },
  select_weizhi_05: function (params) {
    if (this.data.img_url_st_05 == 0) {
      this.setData({
        img_url_05: "/static/imgs/cars/zw_lu.png",
          img_url_st_05: 1
        })
    } else {
      this.setData({
        img_url_05: "/static/imgs/cars/zw_hui.png",
          img_url_st_05: 0
        })
    }
  },
  select_weizhi_06: function (params) {
    if (this.data.img_url_st_06 == 0) {
      this.setData({
        img_url_06: "/static/imgs/cars/zw_lu.png",
          img_url_st_06: 1
        })
    } else {
      this.setData({
        img_url_06: "/static/imgs/cars/zw_hui.png",
          img_url_st_06: 0
        })
    }
  },
  select_weizhi_07: function (params) {
    if (this.data.img_url_st_07 == 0) {
      this.setData({
        img_url_07: "/static/imgs/cars/zw_lu.png",
          img_url_st_07: 1
        })
    } else {
      this.setData({
        img_url_07: "/static/imgs/cars/zw_hui.png",
          img_url_st_07: 0
        })
    }
  },
  select_weizhi_08: function (params) {
    if (this.data.img_url_st_08 == 0) {
      this.setData({
        img_url_08: "/static/imgs/cars/zw_lu.png",
          img_url_st_08: 1
        })
    } else {
      this.setData({
        img_url_08: "/static/imgs/cars/zw_hui.png",
          img_url_st_08: 0
        })
    }
  },
  select_weizhi_09: function (params) {
    if (this.data.img_url_st_09 == 0) {
      this.setData({
        img_url_09: "/static/imgs/cars/zw_lu.png",
          img_url_st_09: 1
        })
    } else {
      this.setData({
        img_url_09: "/static/imgs/cars/zw_hui.png",
          img_url_st_09: 0
        })
    }
  },
  select_weizhi_10: function (params) {
    if (this.data.img_url_st_10 == 0) {
      this.setData({
        img_url_10: "/static/imgs/cars/zw_lu.png",
          img_url_st_10: 1
        })
    } else {
      this.setData({
        img_url_10: "/static/imgs/cars/zw_hui.png",
          img_url_st_10: 0
        })
    }
  },
  select_weizhi_13: function (params) {
    if (this.data.img_url_st_13 == 0) {
      this.setData({
        img_url_13: "/static/imgs/cars/zw_lu.png",
          img_url_st_13: 1
        })
    } else {
      this.setData({
        img_url_13: "/static/imgs/cars/zw_hui.png",
          img_url_st_13: 0
        })
    }
  },
  select_weizhi_14: function (params) {
    if (this.data.img_url_st_14 == 0) {
      this.setData({
        img_url_14: "/static/imgs/cars/zw_lu.png",
          img_url_st_14: 1
        })
    } else {
      this.setData({
        img_url_14: "/static/imgs/cars/zw_hui.png",
          img_url_st_14: 0
        })
    }
  },
  select_weizhi_15: function (params) {
    if (this.data.img_url_st_15 == 0) {
      this.setData({
        img_url_15: "/static/imgs/cars/zw_lu.png",
          img_url_st_15: 1
        })
    } else {
      this.setData({
        img_url_15: "/static/imgs/cars/zw_hui.png",
          img_url_st_15: 0
        })
    }
  },
  select_weizhi_16: function (params) {
    if (this.data.img_url_st_16 == 0) {
      this.setData({
        img_url_16: "/static/imgs/cars/zw_lu.png",
          img_url_st_16: 1
        })
    } else {
      this.setData({
        img_url_16: "/static/imgs/cars/zw_hui.png",
          img_url_st_16: 0
        })
    }
  },
  select_weizhi_18: function (params) {
    if (this.data.img_url_st_18 == 0) {
      this.setData({
        img_url_18: "/static/imgs/cars/zw_lu.png",
          img_url_st_18: 1
        })
    } else {
      this.setData({
        img_url_18: "/static/imgs/cars/zw_hui.png",
          img_url_st_18: 0
        })
    }
  },
  select_weizhi_19: function (params) {
    if (this.data.img_url_st_19 == 0) {
      this.setData({
        img_url_19: "/static/imgs/cars/zw_lu.png",
          img_url_st_19: 1
        })
    } else {
      this.setData({
        img_url_19: "/static/imgs/cars/zw_hui.png",
          img_url_st_19: 0
        })
    }
  },
  select_weizhi_20: function (params) {
    if (this.data.img_url_st_20 == 0) {
      this.setData({
        img_url_20: "/static/imgs/cars/zw_lu.png",
          img_url_st_20: 1
        })
    } else {
      this.setData({
        img_url_20: "/static/imgs/cars/zw_hui.png",
          img_url_st_20: 0
        })
    }
  },
  select_weizhi_21: function (params) {
    if (this.data.img_url_st_21 == 0) {
      this.setData({
        img_url_21: "/static/imgs/cars/zw_lu.png",
          img_url_st_21: 1
        })
    } else {
      this.setData({
        img_url_21: "/static/imgs/cars/zw_hui.png",
          img_url_st_21: 0
        })
    }
  },
  select_weizhi_22: function (params) {
    if (this.data.img_url_st_22 == 0) {
      this.setData({
        img_url_22: "/static/imgs/cars/zw_lu.png",
          img_url_st_22: 1
        })
    } else {
      this.setData({
        img_url_22: "/static/imgs/cars/zw_hui.png",
          img_url_st_22: 0
        })
    }
  },
  select_weizhi_23: function (params) {
    if (this.data.img_url_st_23 == 0) {
      this.setData({
        img_url_23: "/static/imgs/cars/zw_lu.png",
          img_url_st_23: 1
        })
    } else {
      this.setData({
        img_url_23: "/static/imgs/cars/zw_hui.png",
          img_url_st_23: 0
        })
    }
  },    
  select_weizhi_24: function (params) {
    if (this.data.img_url_st_24 == 0) {
      this.setData({
        img_url_24: "/static/imgs/cars/zw_lu.png",
          img_url_st_24: 1
        })
    } else {
      this.setData({
        img_url_24: "/static/imgs/cars/zw_hui.png",
          img_url_st_24: 0
        })
    }
  }
});